﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ACC.Util.Restful
{

    /// <summary>
    /// 服务返回参数实体类
    /// </summary>
    public class ApiBaseResult
    {
        /// <summary>
        /// 错误消息
        /// </summary>
        public string Msg { get; set; }

        /// <summary>
        /// 是否成功
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 返回的Error Code
        /// </summary>
        private int ErrorCode { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public object Content { get; set; }
    }
}
